<?php


namespace App\Supports;


class DateSupport
{
    /**
     * 当前日期字符串
     * @param bool $format
     * @return false|string
     */
    public static function nowDate($format = false)
    {
        if (!$format) {
            $format = 'Y-m-d H:i:s';
        }
        return date($format);
    }
}
